let  fn_list = async (ctx) => { ctx.body = "列表" }
let fn_ById = async (ctx) => { ctx.body = "单一查询" }
let fn_add = async (ctx) => { ctx.body = "新增" }
let fn_upd = async (ctx) => { ctx.body = "修改" }
let fn_del = async (ctx) => { ctx.body = "删除" }
export default [{
    fn: fn_list,
    url: "/teacher",
    method: "get"

},
{
    fn: fn_ById,
    url: "/teacher/:id",
    method: "get"

},
{
    fn: fn_add,
    url: "/teacher",
    method: "post"

},
{
    fn: fn_upd,
    url: "/teacher/:id",
    method: "put"

},
{
    fn: fn_del,
    url: "/teacher/:id",
    method: "del"

}]


